package com.leenmvc.core.security.entity.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.leenmvc.core.annotation.PrimaryKey;

import java.util.Date;

public class LogSqlExcel {
    @PrimaryKey
    private Long id;
    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String username;
    /**
     * sql语句
     */
    @Excel(name = "sql语句")
    private String sqlStr;
    /**
     * 参数
     */
    @Excel(name = "参数")
    private String params;
    /**
     * 操作的接口的说明
     */
    @Excel(name = "操作的接口的说明")
    private String note;
    /**
     * 接口uri
     */
    @Excel(name = "接口uri")
    private String uri;
    /**
     * 影响的条数
     */
    @Excel(name = "影响的条数")
    private Integer influence;
    /**
     * 执行时间长度
     */
    @Excel(name = "执行时间：ms")
    private Integer excuteTime;

    @Excel(name = "创建时间")
    private Date createDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSqlStr() {
        return sqlStr;
    }

    public void setSqlStr(String sqlStr) {
        this.sqlStr = sqlStr;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public Integer getInfluence() {
        return influence;
    }

    public void setInfluence(Integer influence) {
        this.influence = influence;
    }

    public Integer getExcuteTime() {
        return excuteTime;
    }

    public void setExcuteTime(Integer excuteTime) {
        this.excuteTime = excuteTime;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
